@import '../../var';
page {
  background-color: $bgcolor-gray;
}
.loadMore {
  image {
    display: block;
    margin: auto;
    width: 400rpx;
    height: 400rpx;
  }
}
.titleName {
  width: 11em;
  height: 64rpx;
  line-height: 60rpx;
}
.more {
  width: 64rpx;
  height: 64rpx;
  margin: 0 30rpx 0 auto;
}
.header {
  display: inline;
  padding: 30rpx 30rpx 40rpx;
  text-align: center;
  background: $bgcolor-light;
  .avatar {
    position: relative;
    display: inline-block;
    width: 120rpx;
    height: 120rpx;
  }

  .name {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20rpx;
    font-weight: 500;
    font-weight: 700;
    font-size: 32rpx;
    text-align: center;
    image {
      margin-left: 6rpx;
    }
    .girl {
      width: 19rpx;
      height: 26rpx;
    }
    .boy {
      width: 24rpx;
      height: 23rpx;
    }
  }
  .tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 500rpx;
    margin: 20rpx auto 0;
    .tagsItem {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 6rpx;
      padding: 8rpx 15rpx;
      color: $title-color;
      font-size: 20rpx;
      background-color: #f4f5f5;
      border-radius: 6rpx;
    }
  }
  .profile {
    margin-top: 20rpx;

    &-item {
      display: flex;
      align-items: center;
      align-items: flex-start;
      margin-bottom: 20rpx;
      line-height: 26rpx;
      .bioBox {
        white-space: normal;
        line-height: 1.5em;
        width: 100%;
      }
      &:last-child {
        margin-bottom: 0;
      }

      image {
        width: 26rpx;
        height: 26rpx;
      }

      text {
        margin-left: 20rpx;
        color: #808080;
        font-weight: 400;
        font-size: 26rpx;
        text-align: left;
      }

      &-action {
        width: 100%;
        margin-top: 10rpx;
        display: flex;
        justify-content: center;

        button {
          margin: 0 20rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          width: 187rpx;
          color: #000;
          font-size: 28rpx;
          line-height: 70rpx !important;
          background: transparent;
          border: 2rpx solid $primary-color;
          border-radius: 100px;
          &.following {
            color: $info-color;
            border: 2rpx solid $info-color;
          }
          image {
            width: 29rpx;
            height: 28rpx;
            margin-right: 15rpx;
          }
        }
      }
    }
  }
}

.mine-topics {
  margin-top: 20rpx;
}
.topic-item {
  width: 210rpx;
}
.observer {
  width: 100%;
  margin-top: 20rpx;
  padding-top: 1rpx;
}

.block-view {
  display: block;
  width: 100%;
  padding: 44rpx 0;
}

.swiper-tab {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 88rpx;
  padding: 0 120rpx;
  color: $info-color;
  font-weight: 700;
  font-size: 28rpx;
  line-height: 88rpx;
  text-align: center;
  background-color: #fff;

  &.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 5;
    margin-top: 0;
    border-bottom: 1px solid #f4f5f5;
  }
}

.swiper-tab-item {
  width: 30%;
  font-size: 28rpx;
}

.active {
  color: $title-color;
}

.tab-container {
  min-height: 100vh;
  background-color: #fff;
}

.show {
  display: block;
}

.hidden {
  display: none;
}

.container {
  &.commodities {
    padding: 30rpx 30rpx 0 30rpx;
    .productList {
      display: inline-block;
      width: 330rpx;
      margin-bottom: 34rpx;
      overflow: hidden;
      background: rgba(255, 255, 255, 1);
      border-radius: 20rpx;
      &.border {
        height: 524rpx;
        border: 1rpx solid rgba(230, 230, 230, 1);
      }
      .imgBox {
        width: 328rpx;
        height: 328rpx;
        margin: auto;
        image {
          width: 100%;
          height: 100%;
        }
      }
      .title {
        box-sizing: border-box;
        width: 284rpx;
        height: 62rpx;
        margin: 24rpx 0rpx 0rpx 20rpx;
        overflow: hidden;
        color: rgba(26, 26, 26, 1);
        font-size: 28rpx;
        line-height: 34rpx;
      }
      .price {
        width: 284rpx;
        height: 25rpx;
        margin: 20rpx 0rpx 0rpx 20rpx;
        color: $price-color;
        font-size: 30rpx;
        line-height: 30rpx;
        .add {
          font-size: 30rpx;
        }
        text {
          color: $info-color;
          font-size: 22rpx;
        }
      }
      .oldPrice {
        width: 284rpx;
        height: 19rpx;
        margin: 12rpx 0rpx 0rpx 20rpx;
        color: rgba(204, 204, 204, 1);
        font-size: 20rpx;
      }
    }
    .productList:nth-child(2n) {
      margin-left: 28rpx;
    }
    .list {
      display: flex;
      justify-content: space-between;
      width: 100%;
      height: 336rpx;
      padding: 40rpx 0;
      border-bottom: 1rpx solid $border-color;
      .imgs {
        width: 180rpx;
        height: 253rpx;
        border-radius: 8rpx;
      }
      .content {
        width: 380rpx;
        color: $title-color;
        .type {
          width: 100%;
          font-size: 22rpx;
          line-height: 22rpx;
        }
        .title {
          width: 100%;
          margin: 20rpx 0;
          font-weight: 600;
          font-size: 32rpx;
          line-height: 45rpx;
        }
        .detail {
          width: 100%;
          margin-top: 10rpx;
          color: $info-color;
          font-weight: 600;
          font-size: 24rpx;
        }
      }
      .btnBox {
        width: 100rpx;
        border-left: 2rpx dashed $border-color;
        image {
          display: block;
          width: 30rpx;
          height: 25rpx;
          margin: 90rpx auto 10rpx;
        }
        .jion {
          width: 100%;
          height: 22rpx;
          color: #e36579;
          font-size: 22rpx;
          line-height: 22rpx;
          text-align: center;
        }
        .jioned {
          color: $info-color;
        }
      }
    }
  }
}
.img {
  width: 21rpx !important;
  height: 21rpx !important;
}
.cover {
  bottom: -15rpx !important;
}
.creat-topic {
  width: 100%;
  background-color: #fff;
  padding: 10rpx 30rpx;
  button {
    width: 100%;
    background-color: $primary-color;
    font-weight: bold;
    font-size: 30rpx;
  }
}
